const list = [
  {
    color: '#37a2da',
    colorStops: [
      {
        offset: 0.25,
        color: '#37a2da',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
  {
    color: '#90ee90',
    colorStops: [
      {
        offset: 0.25,
        color: '#90ee90',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
  {
    color: '#fb7293',
    colorStops: [
      {
        offset: 0.25,
        color: '#fb7293',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
  {
    color: '#e7bcf3',
    colorStops: [
      {
        offset: 0.25,
        color: '#e7bcf3',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
  {
    color: '#c71585',
    colorStops: [
      {
        offset: 0.25,
        color: '#c71585',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
  {
    color: '#fedb5c',
    colorStops: [
      {
        offset: 0.25,
        color: '#fedb5c',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
  {
    color: '#1e90ff',
    colorStops: [
      {
        offset: 0.25,
        color: '#1e90ff',
      },
      {
        offset: 1,
        color: '#fff',
      },
    ],
  },
]
export function getColorInfo(index: number) {
  index = index % list.length
  return list[index]
}
